package com.zhm.demo.cfg;

import com.zhm.demo.bean.TestBean2;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;

@Configuration
public class BeanCfg {

//    @Bean
//    @Scope("prototype")
//    public TestBean2 testBean2(){
//        return new TestBean2();
//    }
}
